package com.prik.observer.order.observer;

import com.prik.observer.order.pojo.Order;

/**
 * 发送短信观察者
 *
 * @author: prik
 * @create: 2019-07-25
 **/
public class SendMsgOB implements Observer<Order> {
    @Override
    public void update(Order order) {
        System.out.println("发送短信，订单编号：" + order.getOrderNo());
    }
}